<div id="content">
<table width="95%" cellspacing="1" cellpadding="2" border="0" class="admin-table">
  <tbody><tr> 
    <th align="center" colspan="4">欢迎您，{$this->data['user']['username']}</th>
  </tr>
   <tr><td class="list_text in subtitle" colspan="4">系统信息</td></tr>
  <tr>
	   <td class="list_input" colspan="4">
	  <span class="span_index">{if $this->data['site']['site_name']=='淘掌门'}你还没有进行网站信息的设置，<a href="{url('Site','Site')}">点击这里进行设置</a><br />{/if}
	  {if $this->data['return']['rate']}你开启了返利，目前的返利比率是{$this->data['return']['rate']}%，如果你不想开启返利，<a href="{url('Site','Return')}">点击这里关闭</a><br />{else}你还没开启返利，如果你想开启返利，<a href="{url('Site','Return')}">点击这里开启</a><br />{/if}
	  {if !$this->data['cache']['enable']}你还没有开启缓存，开启缓存能有效的降低API超频带来的取不到数据的情况，<a href="{url('Site','Cache')}">点击这里开启缓存</a><br />{/if}</span>
	  {if $this->data['list']['cid']>0}<font color="#ff0000">你在列表设置中选择了ID为{$this->data['list']['cid']}的类目，请确认你的网站只推广这个类目的数据，否则请不要选择列表设置中的类目，如果你想推广所有类目，<a href="{url('Site','List')}">点击这里修改设置</a></font><br />{/if}
	  {if $this->data['passwordreset']}<font color="#ff0000">你已经开启了管理员密码重置功能，该功能会导致你的密码可能会被其他人恶意重置并且能够登录你的管理后台，请尽快关闭该功能，方法：pisces\code\conf\standard\setting.conf.php中$config['password.reset'] = true;修改为$config['password.reset'] = false;";</font><br />{/if}
	  </span>
      </td>
  </tr>
  <tr><td class="list_text in subtitle" colspan="4">API状态</td></tr>
  <tr>
	   <td class="list_input" colspan="4">
	  <span class="span_index">
	  {if !$this->data['collectenable']}<font color="#ff0000">你的空间不支持采集需要的方法：fsockopen，无法调用API获取商品信息，请联系空间商开启对该方法的支持</font><br />{/if}
	  {loop $this->data['api'] $k $val}
	  {if $val['code']!=0}<font color="#ff0000">{/if}APP Key:{$k},状态码:{$val['code']},状态信息:{$val['message']}{if $val['code']!=0}</font>{/if}<br />
	  {/loop}
	  </span>
      </td>
  </tr>
  <tr><td class="list_text in subtitle">用户信息</td><td class="list_text in subtitle">我的收益表</td><td class="list_text in subtitle">技术支持</td><td class="list_text in subtitle">最新动态</td></tr>
  <tr>
  	   <td class="list_input">
	   	<span class="span_index">用户名 <font class="t4">{$this->data['user']['username']}</font></span><br />
	   	<span class="span_index">IP <font class="t4">{$this->data['user']['login_ip']}</font></span><br />
	   	<span class="span_index">登录次数 <font class="t4">{$this->data['user']['login_times']}</font></span><br />
	   	<span class="span_index">登录时间 <font class="t4">{$this->data['user']['login_time']}</font></span><br />
		<span class="span_index">上次登录时间 <font class="t4">{$this->data['user']['last_login_time']}</font></span><br />
		<span class="span_index">上次登录IP <font class="t4">{$this->data['user']['last_login_ip']}</font></span>
	   </td>
	   <td class="list_input">
	   	  	<input type="hidden" id="hdGetReportUrl" value="{url('Report','DoGet')}" />
	   		<span class="span_index">昨日收益 <font class="t4">{$this->data['report']['yestoday']}&nbsp;&nbsp;&nbsp;<a href="{url('Report','Get')}">更新昨日数据</a></font></span><br />
	   		<span class="span_index">本月收益 <font class="t4">{$this->data['report']['this_month']}</font></span><span class="span_index">本月返现 <font class="t4">{$this->data['return']['this_month']}</font></span><br />
	   		<span class="span_index">上月收益 <font class="t4">{$this->data['report']['last_month']}</font></span><span class="span_index">上月返现 <font class="t4">{$this->data['return']['last_month']}</font></span><br />
	   		<span class="span_index">总&nbsp;&nbsp;收&nbsp;益 <font class="t4">{$this->data['report']['total']}</font></span><span class="span_index">总&nbsp;&nbsp;返&nbsp;现 <font class="t4">{$this->data['return']['total']}</font></span><br />
	   		<span class="span_index">净&nbsp;&nbsp;收&nbsp;益 <font class="t4">{$this->data['report']['total']-$this->data['return']['total']}</font></span><br />
	   </td>
      <td class="list_input">
	   <span class="span_index">技术支持 <a target="_blank" href="http://www.taozhangmen.net">www.taozhangmen.net</a></span><br />
	   <span class="span_index">演示网站 <a target="_blank" href="http://www.tbdptj.com">www.tbdptj.com</a></span><br />
	   <span class="span_index">VIP 授权 <a href="http://www.taozhangmen.net/thread-1213-1-1.html" target="_blank">立即开通VIP功能>></a></span>
	   </td>
	   <td class="list_input">
	   {if !empty($this->data['news'])}
		<!--{loop $this->data['news'] $news}-->
		<span class="span_index"><a href="{$news['link']}" target="_blank">{$news['title']}</a><br /></span>
		<!--{/loop}-->
		{/if}
      </td>
  </tr>
  <tr>
	  <td align="center" colspan="4" class="list_footer">Powered by <b><a target="_blank" href="http://www.taozhangmen.net">{$this->data['pisces']['version']}</a></b> &copy;2010 &nbsp;<a target="_blank" href="http://www.taozhangmen.net">TaoZhangMen Inc.</a></td>
  </tr>
</tbody>
</table>
</div>